import request from "@/request/index.js";

export function find(){
    return request({
        url: "/Announcement/list",
        method:"post"
    })
}
export function add(data){
    return request({
        url: "/Announcement/add",
        method:"post",
        data:data
    })
}
export function del(id){
    return request({
        url: "/Announcement/del",
        method:"post",
        params:{id:id}
    })
}